package top.laoshuzi.designpatterns.base.created.builder.kotlin

/**
 * 导演者
 */
class Director(private val builder: Builder) {

    fun create(): Product {
        return builder.buildPart1()
                .buildPart2()
                .buildPart3()
                .build()
    }

}